#!/bin/bash

#copy文件
cp -rf /Users/tay/git/KeePass/*   /Users/tay/iCloud/MyKeePass/


#copy文件
cp -rf /Users/tay/iquanwai-git/KeePass/kdbx/*   /Users/tay/iCloud/MyKeePass/

#获取当前时间
now_time=$(date "+%Y-%m-%d %H:%M:%S.%N")

#日志输出到同名文件的log文件中
echo "${now_time}~~kdbx密码文件备份成功！" >> $0.log
